<?php
?>

<div id="controls">

    <aside id="sidebar" class="scheme-default aside-fixed">

        <div id="sidebar-wrap">

            <div class="slimScrollDiv" style="position: relative; overflow: hidden; width: auto; height: 100%;"><div class="panel-group slim-scroll" role="tablist" style="overflow: hidden; width: auto; height: 100%;">
                <div class="panel panel-default">
                    <div class="panel-heading" role="tab">
                        <h4 class="panel-title">
                            <a data-toggle="collapse" href="#" style="text-transform: none;color: rgba(255, 255, 255, 1.2);font-size:15px;">
                            欢迎用户： <?php echo $_SESSION['username'];  ?> 
                            </a>
                        </h4>
                    </div>
                    <div id="sidebarNav" class="panel-collapse collapse in" role="tabpanel">
                        <div class="panel-body">
                            <script>
                                $(window).load(function(){
                                    var moduleUrl = 'admin';
                                    if(moduleUrl){
                                        var currentMenuItem = $('#navigation .'+moduleUrl);
                                        if(currentMenuItem.hasClass('dropdown')){
                                            currentMenuItem.addClass('open');
                                            currentMenuItem.find('ul').show();

                                        }else{
                                            currentMenuItem.addClass('active');
                                        }
                                    }
                                });
                            </script>

                            <ul id="navigation">
                                <li class="module home_">
                                    <a class="ajax-link" href="back.php"><i class="fa fa-home" aria-hidden="true"></i>
                                    起始页
                                    </a>
                                </li>
                                <li class="module receptionframe_">
                                    <a role="button" tabindex="0" href="receptionframe.php">
                                        <i class="fa fa-th"  aria-hidden="true"></i> <span>前台框架</span>
                                    </a>
                                </li>
                                <li class="module reception_">
                                    <a role="button" tabindex="0" href="reception.php">
                                        <i class="fa fa-th-large"  aria-hidden="true"></i> <span>前台展示</span>
                                    </a>
                                </li>
                                <li class="module data_">
                                    <a role="button" tabindex="0" href="apply_data.php">
                                        <i class="fa fa-align-justify"  aria-hidden="true"></i> <span>数据管理</span>
                                    </a>
                                </li>
                                <li class="module administrator_">
                                    <a role="button" tabindex="0" href="user.php">
                                        <i class="fa fa-user"  aria-hidden="true"></i> <span>用户管理</span>
                                    </a>
                                </li>
                                <li class="module log_">
                                    <a role="button" tabindex="0" href="log.php">
                                        <i class="fa fa-tags"  aria-hidden="true"></i> <span>操作日志</span>
                                    </a>
                                </li>
                            </ul>
                            <!--/ NAVIGATION Content -->
                        </div>
                    </div>
                </div>
            </div><div class="slimScrollBar" style="background: rgb(0, 0, 0); width: 7px; position: absolute; top: 0px; opacity: 0.4; display: none; border-radius: 7px; z-index: 99; right: 1px; height: 592px;"></div><div class="slimScrollRail" style="width: 7px; height: 100%; position: absolute; top: 0px; display: none; border-radius: 7px; background: rgb(51, 51, 51); opacity: 0.2; z-index: 90; right: 1px;"></div></div>

        </div>

    </aside>

</div>